import { lazyComponent } from '@/utils'
export default [
  {
    path: '/product',
    name: 'product',
    sort: 7,
    meta: { title: '产品管理' },
    children: [
      {
        path: '/productList',
        name: 'productList',
        sort: 1,
        component: lazyComponent('product/productList'),
        meta: { title: '产品列表' }
      },
      {
        path: '/productCategory',
        name: 'productCategory',
        sort: 2,
        component: lazyComponent('product/productCategory'),
        meta: { title: '产品分类' }
      },
      {
        path: '/productConfig',
        name: 'productConfig',
        sort: 3,
        component: lazyComponent('product/productConfig'),
        meta: { title: '自有产品配置' }
      },
      {
        path: '/productSpecialPrice',
        name: 'productSpecialPrice',
        sort: 4,
        component: lazyComponent('product/productSpecialPrice'),
        meta: { title: '特殊价格配置' }
      },
      {
        path: '/sendCouponSet',
        name: 'sendCouponSet',
        sort: 5,
        component: lazyComponent('product/sendCouponSet'),
        meta: { title: '赠券方案配置' }
      },
      {
        path: '/physicalProductConfig',
        name: 'physicalProductConfig',
        sort: 6,
        component: lazyComponent('product/physicalProductConfig'),
        meta: { title: '实物产品配置' }
      },
      {
        path: '/cardSurfaceManagement',
        name: 'cardSurfaceManagement',
        sort: 7,
        component: lazyComponent('product/cardSurfaceManagement'),
        meta: { title: '卡面管理' }
      }
    ]
  }
]
